package webgamemaker.FightCanvas;

import java.util.ArrayList;

public class Layer implements Drawable
{
	public ArrayList<Drawable> listDrawable;
	
	public Layer()
	{
		listDrawable = new ArrayList<Drawable>();
	}
	
	public void add(Drawable drawable)
	{
		listDrawable.add(drawable);
	}

	public void draw(FightCanvas canvas) 
	{
		for(Drawable drawable : listDrawable)
			drawable.draw(canvas);
	}
}
